package org.gulugulubiao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.gulugulubiao.entity.Tag;
import org.gulugulubiao.result.Result;

import java.util.List;

@Mapper
public interface TagMapper {

    /**
     * 查询tag所有标签
     * @return List<Tag>
     */
    @Select("SELECT * FROM tag")
    List<Tag> findAll();
}
